﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UtilZ.Dotnet.Ex.Communication.Net.Ftp
{
    /// <summary>
    /// ftp命令接口
    /// </summary>
    internal interface IFtpCommand
    {
        /// <summary>
        /// 命令名称集合
        /// </summary>
        string[] Names { get; }

        /// <summary>
        /// 执行命令
        /// </summary>
        /// <param name="session"></param>
        /// <param name="command">命令</param>
        /// <param name="commandParam">命令参数</param>
        void Excute(FtpSession session, string command, string commandParam);

    }
}
